import { axios } from '@/utils/request'

const api = {
  edit: '/setting/territorial/edit',
  save: '/setting/territorial/save'
}

export default api

export function Edit (parameter) {
  return axios({
    url: api.edit,
    method: 'get',
    params: parameter
  })
}

export function Save (parameter) {
  return axios({
    url: api.save,
    method: 'post',
    data: parameter
  })
}
